﻿using System.ComponentModel.DataAnnotations;

namespace Hotel.Model
{
    public class DisCountModel
    {



        [Key]
        public int Id { get; set; }

        /// <summary>
        /// 卷类型
        /// </summary>
        public string? DisCountType { get; set; }

        /// <summary>
        /// 代金卷标题
        /// </summary>
        public string? Title { get; set; }
        /// <summary>
        /// 代金卷副标题
        /// </summary>
        public string? Titles { get; set; }

        /// <summary>
        /// 图片
        /// </summary>
        public string? Photo { get; set; }

        /// <summary>
        /// 库存
        /// </summary>
        public int Number { get; set; }

        /// <summary>
        ///每人限领
        /// </summary>
        public int Count { get; set; }
        /// <summary>
        ///使用条件
        /// </summary>
        public int Num { get; set; }

        /// <summary>
        /// 减免金额
        /// </summary>
        public decimal Money { get; set; }

        /// <summary>
        /// 有效期
        /// </summary>
        public DateTime CreateTime { get; set; }

        public DateTime UpdateTime { get; set; }

        /// <summary>
        /// 适合业务
        /// </summary>
        public string? YeWu { get; set; }

        /// <summary>
        /// 使用须知
        /// </summary>
        public string? XuZhi { get; set; }

        /// <summary>
        ///适用门店
        /// </summary>
        public int ShopId { get; set; }

        /// <summary>
        /// 联系方式
        /// </summary>
        public string? Phone { get; set; }

        /// <summary>
        /// 删除
        /// </summary>
        public bool IsDeletd { get; set; } = false;

    }
}